<template>
  <el-popconfirm
    icon="el-icon-info"
    icon-color="red"
    :title="title"
    v-bind="$attrs"
    v-on="$listeners"
  >
    <template slot="reference">
      <slot></slot>
    </template>
  </el-popconfirm>
</template>

<script>
  export default {
    name: "my-popconfirm-delete",
    props: {
      title:{
        type: String,
        default: '确定删除吗？'
      },
      icon: {
        type: String,
        default: 'el-icon-info'
      },
      icoColor: {
        type: String,
        default: 'red'
      }
    }
  }
</script>

<style scoped>

</style>
